package com.meilai.project.vo.personal.mission;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.meilai.project.entity.personal.mission.Mission;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author 张驰
 * @date 2022/3/24 18:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MissionVO extends Mission {

    @ApiModelProperty(value = "首次提醒时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime first_tip_at;

    @ApiModelProperty(value = "执行人姓名（英文逗号分割）")
    private String operators;

    @ApiModelProperty(value = "执行人userId（英文逗号分割）")
    private String operators_id;

    @ApiModelProperty(value = "任务状态")
    private String cur_status_name;

    @ApiModelProperty(value = "持续提醒间隔（含单位）")
    private String continue_tip_gap_desp;

}
